﻿using System;
using YinfangWeb.Common;

namespace YinfangWeb.Model
{
	/// <summary>
	/// ProductKind
	/// </summary>
    [Serializable]
	public class ProductKind
	{
		/// <summary>
		/// ProductKindID
        /// </summary>
        [FieldName("ProductKindID")]		
		public int ProductKindID
		{
			get;
			set;
		}
        
		/// <summary>
		/// KindState
        /// </summary>
        [FieldName("KindState")]		
		public int KindState
		{
			get;
			set;
		}
        
		/// <summary>
		/// KindName
        /// </summary>
        [FieldName("KindName")]		
		public string KindName
		{
			get;
			set;
		}
        
		/// <summary>
		/// KindLevel
        /// </summary>
        [FieldName("KindLevel")]		
		public int KindLevel
		{
			get;
			set;
		}
        
		/// <summary>
		/// OrderNum
        /// </summary>
        [FieldName("OrderNum")]		
		public int OrderNum
		{
			get;
			set;
		}
        
		/// <summary>
		/// RegDateTime
        /// </summary>
        [FieldName("RegDateTime")]		
		public DateTime RegDateTime
		{
			get;
			set;
		}
        
		/// <summary>
		/// RegUserID
        /// </summary>
        [FieldName("RegUserID")]		
		public int RegUserID
		{
			get;
			set;
		}
        
		/// <summary>
		/// RegFullName
        /// </summary>
        [FieldName("RegFullName")]		
		public string RegFullName
		{
			get;
			set;
		}
        
		/// <summary>
		/// EditDateTime
        /// </summary>
        [FieldName("EditDateTime")]		
		public DateTime EditDateTime
		{
			get;
			set;
		}
        
		/// <summary>
		/// EditUserID
        /// </summary>
        [FieldName("EditUserID")]		
		public int EditUserID
		{
			get;
			set;
		}
        
		/// <summary>
		/// EditFullName
        /// </summary>
        [FieldName("EditFullName")]		
		public string EditFullName
		{
			get;
			set;
		}
        
        public ProductKind Clone()
        {
            return (ProductKind)this.MemberwiseClone();
        }
        
        public ProductKind()
        {
            KindName = string.Empty;
            RegDateTime = ConvertHelper.DefaultDate;
            RegFullName = string.Empty;
            EditDateTime = ConvertHelper.DefaultDate;
            EditFullName = string.Empty;
        }
	}
}
